package com.lcxsoft.partnerservice.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDateTime;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author lcx
 * @since 2022-02-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Withdrawal对象", description="")
public class Withdrawal implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "withdrawal_id", type = IdType.ID_WORKER_STR)
    private String withdrawalId;

    @ApiModelProperty(value = "合伙人主键")
    private String partnerUserId;

    @ApiModelProperty(value = "提现数额")
    private BigDecimal withdrawalTottle;

    @ApiModelProperty(value = "订单状态")
    private String status;

    @ApiModelProperty(value = "收款账号")
    private String withdrawalAccount;

    @ApiModelProperty(value = "实际到账")
    private BigDecimal actualArrival;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createtime;

    @ApiModelProperty(value = "更新时间")
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatetime;

    @ApiModelProperty(value = "删除时间")
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime deletetime;

    @ApiModelProperty(value = "删除标志")
    private Boolean deleteflag;


}
